package com.starblink.frame.app.vm

import androidx.lifecycle.MutableLiveData
import com.starblink.frame.app.bean.HomeItem2Bean
import com.starblink.frame.app.bean.HomeItemBean
import com.starblink.frame.base.BaseViewModel

class MainVM : BaseViewModel() {
    val mainDataList:MutableLiveData<ArrayList<Any>> = MutableLiveData(ArrayList())
    fun reqTestData(){
        mainDataList.value?.add(HomeItem2Bean("test"))
        mainDataList.value?.add(HomeItemBean("add fragment"))
    }
}